<%namespace YouHP.BLL%>
<div id ="address" style =" float:left;">
 省份
<select name="province" id="province"  onchange="if(this.value !='') setCity(this.options[this.selectedIndex].value)">
<%csharp%>if(_User.Province==""){<%/csharp%>
<option value="">-请选择-</option>  
<%csharp%>} else {<%/csharp%>
<option value="{_User.ProvinceId}">{_User.Province}</option> 
<%csharp%>}<%/csharp%>

<%csharp%>
foreach(DistrictInfo Info in mProvinceList)
{
<%/csharp%>
<option value="{Info.Id}">{Info.Name}</option>     
 <%csharp%>
 }
<%/csharp%>
</select>
 城市
<select name="city" id ="city">
<%csharp%>if(_User.City==""){<%/csharp%>
<option value ="">-请选择-</option>
<%csharp%>} else {<%/csharp%>
<option value="{_User.CityId}">{_User.City}</option> 
<%csharp%>}<%/csharp%>
<%csharp%>
foreach(DistrictInfo Info in mCityList)
{
<%/csharp%>
<option value="{Info.Id}">{Info.Name}</option>     
 <%csharp%>
 }
<%/csharp%>
</select>
</div>